import request from "@/utils/request";

// 查询物料单位列表
export function listWllx(data) {
    return request({
      url: "/material/type/list",
      method: "post",
      data,
    });
  }
  //新增
  export function addWllx(data) {
    return request({
      url: "/material/type",
      method: "post",
      data,
    });
  }
  //修改
  export function editWllx(data) {
    return request({
      url: "/material/type",
      method: "put",
      data,
    });
  }
  //修改
  export function delWllx(id) {
    return request({
      url: "/material/type/" + id,
      method: "delete",
    });
  }
  